package com.star.sync.elasticsearch.dto.torderinfo;

import com.star.sync.elasticsearch.annotation.EsDataMapping;
import com.star.sync.elasticsearch.execute.torderinfo.TOrderInfoExecute;
import lombok.Data;

import java.util.Date;

@Data
@EsDataMapping(indexName = "t_company_info",tableName = "t_company_info",type = "child")
public class TCompanyInfo extends TOrderInfoExecute<TCompanyInfo> {
    private Integer id;

    private Integer accountInfoId;

    private String companyName;

    private String companyLogogram;

    private String companyShortName;

    private String companyLogisticsRole;

    private String companyProfile;

    private String companyBusinessIntroduction;

    /** 纳税人识别号*/
    private String taxpayerNumber;

    private String companyWebsite;

    private String companyProviceInfo;

    private String companyCityInfo;

    private String companyDetailAddress;

    private String companyLegalPerson;

    private String companyLegalPersonIdcard;

    private String companyContacts;

    private String companyContactsPhone;

    private String businessLicenseNo;

    private Date businessLicenseNoValidUntil;

    private String businessLicensePhoto;

    private String companyLegalPersonPhoto1;

    private String companyLegalPersonPhoto2;

    private String otherPhoto1;

    private String otherPhoto2;

    private String remark;

    private String param1;

    private String param2;

    private String param3;

    private String param4;

    private Integer workflowId;

    private String auditStatus;

    private String auditOpinion;

    private Date auditTime;

    private String createUser;

    private Date createTime;

    private String updateUser;

    private Date updateTime;

    private Boolean enable;

    /**
     * 企业注册电话 （用于开发票）
     */
    private String registPhone;

    /** 是否已申请合同 */
    private Boolean ifOnlineSign;
    /** 是否关联客户名称 */
    private Boolean ifRelClient;
    /** 是否关联委托方 */
    private Boolean ifRelEntrust;


    @Override
    public TCompanyInfo update(TCompanyInfo tCompanyInfo) {
        return null;
    }

    @Override
    public TCompanyInfo delete(TCompanyInfo tCompanyInfo) {
        return null;
    }
}